export interface Result {
    productNo: string,
    name: string,
    operatorStatus: string,
    refundStatus: string,
    product: Product | null,
    operatorRecord: OperatorRecord | null
    refundRecord: RefundRecord | null

}

// 订单信息
export interface Product {
    id: string,
    productName: string,
    productPrice: number,
    productTotal: number,
    productInfo: string,
    productSource: string,
    productPay: string
    productTime: string
}

// 派单信息
export interface OperatorRecord {
    chatSource: string
    operatorName: string
    receiveName: string
    status: string,
    nickname: string
    productPrice: number
    operatorTime: string
}

// 退款信息
export interface RefundRecord {
    paymentSource: string
    //  责任人
    dutyName: string
    // 退款人
    refundName: string
    refundPrice: number
    productPrice: number
    description: string
    chatSource: string
}

// 软件信息
export interface Software {
    softwareName: string
    softwareId: string
    minPrice: number
    maxPrice: number
    softwareStatus: string
    description: string
}

// 软件版本信息
export interface SoftwareVersion {
    versionId: string
    versionName: string
    softwareName: string
    softwareId: string
    description: string
    versionStatus: string
    updateTime: Date
    createTime: Date
}

// 软件查询列表
export interface SoftwareQuery {
    versionName: string
    des: string
    softwareName: string
    linkName: string
    linkUrl: string
    minPrice: string
    maxPrice: string
    description: string
    softwareId: string
    versionId: string
    linkId: string
    status: string
    aliasName: string
    updateTime: Date
    createTime: Date
}

//软件链接信息
export interface SoftwareLink {
    linkName: string
    linkId: string
    versionId: string
    softwareId: string
    softwareName: string
    versionName: string
    linkUrl: string
    status: string
}

export interface ApiResponse {
    success: boolean; // 根据你的 API 响应来定义
    message?: string; // 可选的消息字段
    rows: any[] | Software[] | SoftwareVersion[] | SoftwareLink[];
}
